__wdtypes__ = ['tdb', 'rh', 'p', 'hor_ir', 'glob_rad', 'wind']

def morphing_epw(data, years = None, labels = None, methods = None, warning = False):
    if methods == None:
        methods = {
            'tdb' : 'stretch',
            'rh' : 'stretch',
            'p' : 'stretch',
            'hor_ir' : 'stretch',
            'glob_rad' : 'stretch',
            'wind' : 'stretch'}
    else:
        for wty in __wdtypes__:
            if not methods.has_key(wty):
                methods[wty] = 'stretch'
    
    # TODO: recongnize the cmip data and epw data (historical data)